package com.example.eureka_client.mapper;

import com.example.eureka_client.entity.AnswerRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author plj
 * @since 2022-04-18
 */
public interface AnswerRelationMapper extends BaseMapper<AnswerRelation> {
    AnswerRelation getBy(String answerId, String userId, int type);
    boolean deleteById(String answerId, String userId, int type);
}
